package com.wkf.truck.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wkf.truck.model.Truck;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wkf.truck.vo.TruckTop10Vo;
import com.wkf.truck.vo.TruckUserVo;
import com.wkf.truck.vo.TruckVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxb
 * @since 2021-02-14
 */
public interface TruckService extends IService<Truck> {

    TruckVo getInfo(Long truckId);

    List<TruckTop10Vo> getTop10();

    Page<TruckUserVo> getTruckUsers(Truck truck);
}
